<div class="bh-content">
    <div class="bh-p-pj-jichangpindao bh-padT10">
    <?php echo $this->renderPartial('application.views.partials.crumbs') ?>
        <div class="bh-ly-jj-hotel_inxL bh-fl">
        	<?php $this->widget('lib.ext.data.DataWidget',array(
        		'model' => new CompanyHotel,
        		'view' => 'application.views.partials.hotel.index_search'
        	))?>
            <div class="bh-ly-jj-tourism bh-luxianBG bh-mtop8 bh-Border_1 ">
				<h1 class="bh-ly-yw-shang">热门地区</h1>
               <div class="bh-mTB10">
                    <div class="bh-p-jj-shangquan">
	                    <div class="bh-p-jj-dfds bh-fl"><img src="<?php echo Yii::app()->baseUrl;?>/images/jj-fenbu-tu_01.png" /></div>
	                    <?php $hotCity = Yii::app()->enum->options('district.hot',false);?>
	                    <div class="bh-p-jj-zfds bh-fl" <?php if (count($hotCity) <= 10) echo 'style="height:80px"'?>>
	                    	<?php foreach ($hotCity as $key=>$one):?>
	                    		<a href="<?php echo $this->createUrl('list',array('CompanyHotel[province]'=>$key))?>"><?php echo $one;?></a>
	                    	<?php endforeach;?>
	                    </div>
	                    <div class="bh-clear"></div>
                	</div>
               </div>
            </div>
            <div class="bh-ly-jj-tourism bh-luxianBG bh-mtop8 bh-Border_1 ">
				<?php $this->widget('lib.ext.data.DataWidget',array(
	                'model' => 'CompanyHotel',
	                'criteria' => array(
	                    'order' => 'id desc',
	                    'limit' => '12',
	                ),
	                'view' => 'application.views.partials.hotel.index_list'
	            ))?>
			</div>
        </div>
        
        <div class="bh-ly-jj-hotel_inxR bh-fr">
        	<div class="bh-pj-lypd-left-one bh-Border_1">
                    <h1 class="bh-ly-yw-shang">酒店资讯</h1>
                    <?php $this->widget('lib.ext.data.DataWidget', array(
						'model' => 'News',
						'criteria' => array(
							'limit' => '6'
						),
						'view' => 'application.views.partials.scenicMall.news'
					));?>
                </div>
                <div class="bh-pj-border bh-mtop10">
                		<!-- 右侧广告位 -->
						<?php $this->widget('lib.ext.data.DataWidget',array(
							'model' => 'Ad',
							'criteria' => array(
								'condition' => 'type = :type',
								'params' => array(
									':type' => Ad::TYPE_M_HOTEL_R
								),
								'limit' => '1'
							),
							'data' => array(
								'width' => 250,
								'height' => 104,
							),
							'view' => 'application.views.partials.ad.one'
						))?>
                </div>
                <div class="bh-pj-conr-three bh-pj-border bh-bottomBG">
				<!--  主题酒店      -->
				<?php $this->widget('lib.ext.data.DataWidget',array(
	                'model' => 'CompanyHotel',
	                'criteria' => array(
	                    'order' => 'id desc',
	                    'limit' => '3',
	                ),
	                'view' => 'application.views.partials.hotel.index_theme'
	            ))?>
			    </div>
        </div>
        <div class="bh-space"></div>
    </div>
</div>